package com.epalmpay.service.activity;

import com.epalmpay.dto.activity.*;
import com.epalmpay.entity.Coupon;
import com.epalmpay.entity.Page;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/9/25.
 */
public interface IOtherCouponService {
    OtherCouponListOutDTO getOtherCouponList(OtherCouponInDTO couponInDTO,Page page)throws Exception;

    public Long  otherCouponSave(CouponAddInDTO couponAddInDTO)throws Exception;


    CouponDetailOutDTO getOtherCouponDetail(OtherCouponInDTO couponInDTO, Page page)throws Exception;

    void updateOtherCoupon(OtherCouponInDTO otherCouponInDTO)throws Exception;

    OtherCouponExporListOutDTO getOtherCouponExporList(OtherCouponInDTO couponInDTO)throws Exception;

	void finihsOtherCoupon(OtherCouponImportInDTO otherCouponImportInDTO)throws Exception;

	void finishOCouponApply(OtherCouponComfireInDTO otherCouponInDTO)throws Exception;

	void finishOCouponDelete(OtherCouponComfireInDTO otherCouponInDTO)throws Exception;

	void finishOCouponComfire(OtherCouponComfireInDTO otherCouponInDTO)throws Exception;

	OCouponComfireListOutDTO otherCouponComfireList(OtherCouponComfireInDTO couponInDTO, Page page)throws Exception;

	OCouponComfireInfoOutDTO otherCouponComfireInfo(Long id,Integer status)throws Exception;

	List<Coupon> findNeedCreateCodeInfo();

	void finishCreateCodeInfo(Long id)throws Exception;

	void saveSynCreateCodeInfo(Long recordId);
}
